package marmalius.item;

import marmalius.map.SpawnObject;
import marmalius.map.SpawnType;

public class ItemGround extends SpawnObject {
	private int itemID;
	private int itemCount;
	private int respawnTime;
	
	public ItemGround(int itemID, int coordX, int coordY, byte heightLevel, int itemCount) {
		this.itemID = itemID;
		this.coordX = coordX;
		this.coordY = coordY;
		this.heightLevel = heightLevel;
		this.itemCount = itemCount;
		respawnTime = 0;
		type = SpawnType.ITEMGROUND;
	}
	
	public void setRespawnTime(int respawnTime) { this.respawnTime = respawnTime; }
	
	public int getItemID() { return itemID; }
	public int getItemCount() { return itemCount; }
	public int getRespawnTime() { return respawnTime; }
}
